﻿// -----------------------------------------------------------------------
// <copyright file=DmTinhThanhBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmTinhThanhBusiness
    {
        DmTinhThanhDataAccess objDa = null;

        public DmTinhThanhBusiness()
        {
            objDa = new DmTinhThanhDataAccess();
        }

        public bool InsertDmTinhThanh(DmTinhThanhEntity obj)
        {
            return objDa.InsertDmTinhThanh(obj);
        }

        public bool EditDmTinhThanh(DmTinhThanhEntity obj)
        {
            return objDa.EditDmTinhThanh(obj);
        }

        public bool DeleteDmTinhThanh(string maTinhThanh)
        {
            return objDa.DeleteDmTinhThanh(maTinhThanh);
        }

        public DmTinhThanhEntity GetDmTinhThanh(string maTinhThanh)
        {
            return objDa.GetDmTinhThanh(maTinhThanh);
        }

        public IList<DmTinhThanhEntity> GetDmTinhThanhList()
        {
            return objDa.GetDmTinhThanhList();
        }

    }
}